package com.ryenlii.datatrans.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 设备上报信息详情
 * </p>
 *
 * @author zhengwen
 * @since 2023-02-03
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("device_record_info")
public class DeviceRecordInfo extends Model<DeviceRecordInfo> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 字段名称
     */
    private String tagName;

    /**
     * 字段key
     */
    private String tagKey;

    /**
     * 字段值
     */
    private String tagVal;

    /**
     * 记录id
     */
    private Long recordId;

    /**
     * 单位
     */
    private String tagUnit;

    /**
     * 字段值释意
     */
    private String tagValName;
}
